package com.hmall.api.trade;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @Description tradeClient
 * @Author Olivia
 * @Date 2025-03-18  22:05
 */
@FeignClient(name="trade-service",path = "/orders")
public interface TradeClient {
    @PutMapping("/{orderId}")
     void markOrderPaySuccess(@PathVariable("orderId") Long orderId) ;
}
